package orm

import (
	"github.com/astaxie/beego/orm"
	_ "github.com/lib/pq"
	//"myapp/web/green/models"
)

func init() {
	orm.RegisterModelWithPrefix("_", new(BuyItem), new(Goods), new(Company), new(Warehouse))
	orm.RegisterDataBase("default", "postgres", "user=greenerp password=guotinghuayuan30301 dbname=greenerp sslmode=disable")
}

// type MyOrm struct {
// }

// func (o *MyOrm) NewOrm() orm.Ormer {
// 	return orm.NewOrm()
// }

// func (o *MyOrm) NewOrm() orm.Ormer {
// 	return orm.NewOrm()
// }
